<div class="row-fluid">
    <div class="box-extention">
        <div class="span3 fix-facicon-link">
            <a href="" title="face"><img src="<?php echo DOMAIN;?>images/icon-face.png" title="face" alt="face"/></a>
            <a href="" title="twiter"><img src="<?php echo DOMAIN;?>images/icon-twiter.png" title="twiter" alt="twiter"/></a>
            <a href="" title="in"><img src="<?php echo DOMAIN;?>images/icon-in.png" title="in" alt="in"/></a>
            <a href="" title="google +"><img src="<?php echo DOMAIN;?>images/icon-gcong.png" title="google +" alt="google +"/></a>
            <a href="" title="youtube"><img src="<?php echo DOMAIN;?>images/icon-youtube.png" title="youtube" alt="youtube"/></a>
            <a href="" title="rss"><img src="<?php echo DOMAIN;?>images/icon-rss.png" title="rss" alt="rss"/></a>
        </div>
        <div class="span3">
            <ul class="unstyled blog-search">
                <li><a href="<?php echo DOMAIN;?>" title="<?php echo lang('trang_chu');?>"><img src="<?php echo DOMAIN;?>images/logo-blog.png" /></a></li>
                <li>
                    <form name="blog">
                        <div style="background: #fff;">
                            <input type="text" placeholder="Search" class="span10" name="keyword" />
                            <i class="fa fa-search" style="font-size: 16px;" onclick="return document.forms.blog.submit();"></i>
                        </div>
                    </form>
                </li>
            </ul>
        </div>
        <div class="span6 fix-menu-top">
            <ul class="unstyled">
                <?php if(empty($user_login)){?>
                <li><a href="<?php echo DOMAIN;?>facebook" title="facebook"><img src="<?php echo DOMAIN;?>images/facebook.png" title="facebook" alt="facebook" style="height: 18px; margin-right: 8px;"/>Đăng ký / Đăng nhập nhanh qua facebook</a></li>
                <?php }?>
                <li>
                    <div class="btn-group">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                            <img src="<?php echo DOMAIN;?>images/bg_vn.png" width="60%" style="height: 15px !important; margin-top: -5px; margin-right: 5px;"/>
                            <span class="caret" style="margin-top: 8px; border-top: 4px solid #fff;"></span>
                        </a>
                        <ul class="dropdown-menu" style="min-width: 30px; font-size: 11px;">
                            <div style="padding: 0 5px;">
                                <a href="" title="vn"><img src="<?php echo DOMAIN;?>images/bg_vn.png" title="vn" alt="vn"/></a><br />
                                <div class="clear-content"></div>
                                <a href="" title="eng"><img src="<?php echo DOMAIN;?>images/bg_eng.png" title="eng" alt="eng"/></a>
                            </div>
                        </ul>
                    </div>
                </li>
                <?php if(empty($user_login)){?>
                <li><a href="<?php echo DOMAIN;?>dang-ky" title="Đăng ký thành viên">Đăng ký</a></li>
                <li><a href="#login" title="Đăng nhập" data-toggle="modal">Đăng nhập</a></li>
                <?php }else{?>
                <li><a href="<?php echo DOMAIN;?>dang-xuat">Thoát</a></li>
                <li class="hover-user">
                    <div class="btn-group">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                            <img src="<?php echo DOMAIN;?>img/w25/h25/<?php echo $user_login['images'];?>" style="margin-right: 8px;"/>
                            <?php echo $user_login['fullname'];?>&nbsp;&nbsp;&nbsp;<i class="fa fa-arrow-circle-down"></i>
                        </a>
                        <ul class="dropdown-menu" style="font-size: 11px; border-radius: 0; background: #f2f2f2; margin-top: 5px;">
                            <div style="position: relative;"><img src="<?php echo DOMAIN;?>images/mt-fr.png" style="position: absolute; top: -11px; right: 2px;"/></div>
                            <div class="tab-chuc-nang-user">
                                <ul>
                                    <li><a href="<?php echo DOMAIN;?>user/blog/<?php echo $user_login['id'];?>" title="<?php echo lang('trang_ca_nhan');?>"><?php echo lang('trang_ca_nhan');?></a></li>
                                    <li><a href="<?php echo DOMAIN;?>dang-bai" title="<?php echo lang('dang_bai_viet_san_pham');?>"><?php echo lang('dang_bai_viet_san_pham');?></a></li>
                                    <li><a href="<?php echo DOMAIN;?>user/info/<?php echo $user_login['id'];?>" title="<?php echo lang('thong_tin');?>"><?php echo lang('thong_tin');?></a></li>
                                    <li><a href="<?php echo DOMAIN;?>user/pass/<?php echo $user_login['id'];?>" title="<?php echo lang('doi_pass');?>"><?php echo lang('doi_pass');?></a></li>
                                    <li><a href="<?php echo DOMAIN;?>dang-xuat" title="<?php echo lang('thoat');?>"><?php echo lang('thoat');?></a></li>
                                </ul>
                            </div>
                        </ul>
                    </div>
                </li><!--end hover-user-->
                <?php }?>
            </ul>
        </div>
        <div id="login" class="modal hide fade member" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3 id="myModalLabel">Đăng nhập</h3>
          </div>
          <div class="modal-body">
            <p>
                <form method="post" action="<?php echo DOMAIN;?>dang-nhap">
                    <div class="login">
                      <div class="login-form">
                        <div class="form-block">
                          <div class="inputlabel">
                            <label for="UserName">Email:</label>
                          </div>
                          <div>
                            <input name="txtName" type="text"style="width:95%;" />
                          </div>
                          <div class="inputlabel">
                            <label for="Password">Mật khẩu:</label>
                          </div>
                          <div>
                            <input name="txtPass" type="password"style="width:95%;" />
                          </div>
                          <div class="clear-content"></div>
                          <div align="left">
                            <input type="submit" value="Đăng nhập" class="btn" style="background: #fd5b00;color: #fff; text-shadow: none; font-weight: bold;" />
                            <a href="#">Quên mật khẩu</a>
                            <div class="clear-content"></div>
                            <a href="<?php echo DOMAIN;?>dang-ky" title="Đăng ký thành viên">Chưa có tài khoản? Đăng ký</a>
                          </div>
                        </div>
                      </div>
                    </div>
                </form>
            </p>
          </div>
          <div class="modal-footer">
            <a href="<?php echo DOMAIN;?>facebook" class="btn btn-primary" style="width: 89%;"><i class="fa fa-facebook"></i> Đăng nhập bằng Facebook</a>
          </div>
        </div>
        <div class="clear-main"></div>
    </div><!--end box-extention-->












</div>